// import {useRoute,useRouter} from 'vue-router'
// const route = useRoute()
// const router = useRouter()
import router from '@/router/index'
export default function(){
    console.log(router.getRoutes())
    router.getRoutes().forEach((route)=>{
        console.log('printRouter:',route.name)
    })
}